github.com/gotd/td/telegram.Client.ctx (field)

27 uses

	github.com/gotd/td/telegram (current package)
		cdn.go#L146: 	if c.ctx != nil {
		cdn.go#L149: 		return c.ctx
		client.go#L135: 	ctx    context.Context
		connect.go#L159: 	if c.ctx != nil {
		connect.go#L161: 		case <-c.ctx.Done():
		connect.go#L162: 			return errors.Wrap(c.ctx.Err(), "client already closed")
		connect.go#L169: 	c.ctx, c.cancel = context.WithCancel(ctx)
		connect.go#L212: 		case <-c.ctx.Done():
		connect.go#L213: 			return c.ctx.Err()
		handle_updates.go#L19: 			c.fetchConfig(c.ctx)
		handle_updates.go#L28: 		return c.updateHandler.Handle(c.ctx, u)
		handle_updates.go#L31: 		return c.updateHandler.Handle(c.ctx, u)
		handle_updates.go#L34: 		return c.updateHandler.Handle(c.ctx, u)
		handle_updates.go#L36: 		return c.updateHandler.Handle(c.ctx, upconv.ShortMessage(u))
		handle_updates.go#L38: 		return c.updateHandler.Handle(c.ctx, upconv.ShortChatMessage(u))
		handle_updates.go#L40: 		return c.updateHandler.Handle(c.ctx, upconv.ShortSentMessage(u))
		handle_updates.go#L42: 		return c.updateHandler.Handle(c.ctx, u)
		handle_updates.go#L44: 		c.log.Warn(c.ctx, "Ignoring update", log.String("update_type", fmt.Sprintf("%T", u)))
		invoke.go#L105: 		if c.ctx != nil {
		invoke.go#L106: 			clientDone = c.ctx.Done()
		invoke.go#L116: 			return errors.Wrap(c.ctx.Err(), "client closed")
		pool.go#L28: 	case <-c.ctx.Done():
		pool.go#L29: 		return nil, errors.Wrap(c.ctx.Err(), "client already closed")
		pool.go#L33: 	p := pool.NewDC(c.ctx, dc, creator, pool.DCOptions{
		session.go#L69: 	data, err := c.storage.Load(c.ctx)
		session.go#L91: 	if err := c.storage.Save(c.ctx, data); err != nil {
		session.go#L95: 	c.log.Debug(c.ctx, "Data saved",